Tool Mentor: Evaluating Test Coverage Using Rational TestFactoryTMPurposeThis tool mentor describes how to use Rational TestFactory to evaluate UI-based test coverage and code-based test coverage for a script that was automatically generated in TestFactory. Related Rational Unified Process activities:
OverviewAfter you have generated test scripts automatically in TestFactory, you can review the test coverage information for each test script. For information about using a Pilot to generate test scripts, see Tool Mentor: Generating Test Scripts Automatically Using Rational TestFactory. This Tool Mentor is applicable when running Windows 95/98/2000/NT 4.0. To use TestFactory to evaluate test coverage: ò Review test coverage information
When a test script is the selected object in the left pane of the TestFactory main window, the Coverage tab in the right pane contains the test coverage information for the script. TestFactory calculates the UI-based test coverage value as the percent of unique controls in the application (or applet) that the test script touches, relative to the number of controls to which the Pilot has access. TestFactory calculates the code-based test coverage value as the percent of the source code that a test script touches, relative to all the source code in the application-under-test. If you have access to the source files of the AUT, you can use the Coverage Browser in TestFactory to review the code in a source file and examine which lines of code the test script touches.
|
Rational Unified
Process |